<template>
	<view>
		<text  @click="addcartt(8)">my</text>
	</view>
</template>

<script>
  import { mapMutations } from 'vuex'
  
	export default {
		data() {
			return {
				
			};
		},
    methods:{
      ...mapMutations('m_cart',['addCart']),
      addcartt(e){
        this.addCart(e)
        // store.commit('m_cart'['addCart'],e)
        // console.log()
      }
    }
	}
</script>

<style lang="scss">

</style>
